Skip to content

Fix error when retrieving the text for a citation node#211

Open
egh wants to merge 1 commit intoorg-roam:mainfrom
egh:fix-error-with-citation-nodes
Open

Fix error when retrieving the text for a citation node#211
egh wants to merge 1 commit intoorg-roam:mainfrom
egh:fix-error-with-citation-nodes

Conversation

@egh
Copy link
Copy Markdown
Contributor

@egh egh commented Jan 29, 2022

Citation nodes do not have text (they are not tied to a file and heading), so add a check to org-roam-ui--get-text for this. Also ensure that the preview text is updated even when it is empty.

Citation nodes do not have text (they are not tied to a file and
heading), so add a check to org-roam-ui--get-text for this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant